#include "tools_func.h"

int main()
{
    char out_buf[10][128] = {0};
    char str[] = "hello world, hello tcpa";
    int num = cut_str_for_keyword(out_buf, sizeof(out_buf), str, strlen(str), "world");
    for (int i = 0; i < num; i++) {
        printf("%s\n", out_buf[i]);
    }
    return 0;
}